<%@ page import="cn.yunhe.bean.Admin" %>
<%@ page import="java.util.List" %>
<%@ page import="cn.yunhe.bean.User" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/7/4
  Time: 11:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--<%
    List<User> userList= (List<User>) request.getAttribute("userList");
    if (userList==null){
        request.getRequestDispatcher("GetAllUserServlet").forward(request,response);
    }
%>--%>
<%--<table cellspacing="0px" cellpadding="0px" border="1" align="center" width="800px">
    <tr>

        <th>用户id</th>
        <th>真实姓名</th>
        <th>用户名</th>
        <th>用户密码</th>
        <th>性别</th>
        <th>手机号</th>
        <th>email</th>
        <th>操作</th>
    </tr>
    <c:forEach items="${userList}" var="u">
        <tr align="center">
            <td>${u.userId}</td>
            <td>${u.realName}</td>
            <td>${u.userName}</td>
            <td>${u.pwd}</td>
            <td>${u.sex}</td>
            <td>${u.phone}</td>
            <td>${u.email}</td>
            <td><a href="UserDeleteServlet?userid=${u.userId}">删除</a></td>
        </tr>
    </c:forEach>

    <tr>
        <td colspan="8" style="text-align: center;">
            <a href="">首页|</a>
            <a href="">上页|</a>
            <a href="">下页|</a>
            <a href="">尾页</a>
        </td>
    </tr>


</table>--%>
</body>
</html>
